Initializes a new instance of the Brush class.
Namespace: MindFusion.Drawing
File: Brush.js
JavaScript Copy Code |
---|
function Brush (color) |
The color of this brush.
The following code creates a new Brush and assigns it as a background of a ToolTip:
JavaScript Copy Code |
---|
ToolTip.brush = new Drawing.Brush("#fafafa"); |